type S = string

type F = string | number

interface IGood {
    name: S,
    price: number
}

type Good = {
    name: S,
    price: number
}



let good1:IGood = {
    name: '手机',
    price: 1000
} 

let good2: Good = {
    name: '手机',
    price: 1000
}